﻿using VupSlashLauncher.Common;

namespace VupSlashLauncher.Model
{
    class ShowModel : NotifyBase
    {

        private string _titlecontent = null;
        public string TitleContent
        {
            get { return _titlecontent; }
            set { _titlecontent = value; this.DoNotify(); }
        }

        private bool _isbackbuttonshow = false;
        public bool IsBackButtonShow
        {
            get { return _isbackbuttonshow; }
            set { _isbackbuttonshow = value; this.DoNotify(); }
        }

        private bool _isdownloadbuttonshow = false;
        public bool IsDownloadButtonShow
        {
            get { return _isdownloadbuttonshow; }
            set { _isdownloadbuttonshow = value; this.DoNotify(); }
        }

        private bool _isbuttonbarshow = false;
        public bool IsButtonBarShow
        {
            get { return _isbuttonbarshow; }
            set { _isbuttonbarshow = value; this.DoNotify(); }
        }

        private string _updateiconvisibility = "Collapsed";
        public string UpdateIconVisibility
        {
            get { return _updateiconvisibility; }
            set { _updateiconvisibility = value; this.DoNotify(); }
        }

        private string _debugmodetextvisibility = "Collapsed";
        public string DebugModeTextVisibility
        {
            get { return _debugmodetextvisibility; }
            set { _debugmodetextvisibility = value; this.DoNotify(); }
        }

        private string _localversion = "未知版本";
        public string LocalVersion
        {
            get { return _localversion; }
            set { _localversion = value; this.DoNotify(); }
        }

        private string _latestversion = "未知版本";
        public string LatestVersion
        {
            get { return _latestversion; }
            set { _latestversion = value; this.DoNotify(); }
        }

        private string _launcherversion = GlobalValues.LauncherVersion;
        public string LauncherVersion
        {
            get { return _launcherversion; }
            set { _launcherversion = value; this.DoNotify(); }
        }

        private string _autoupdatebuttoncontent = "正在检测更新";
        public string AutoUpdateButtonContent
        {
            get { return _autoupdatebuttoncontent; }
            set { _autoupdatebuttoncontent = value; this.DoNotify(); }
        }

        private bool[] settingviewchildview = { false, false, false, false, false };
        public bool[] SVChildView
        {
            get { return settingviewchildview; }
            set { settingviewchildview = value; this.DoNotify(); }
        }

        private string _nameingame;
        public string NameInGame
        {
            get { return _nameingame; }
            set { _nameingame = value; this.DoNotify(); }
        }

        private string _gamehostip;
        public string GameHostIP
        {
            get { return _gamehostip; }
            set { _gamehostip = value; this.DoNotify(); }
        }

        private string _gamewindoww;
        public string GameWindowW
        {
            get { return _gamewindoww; }
            set { _gamewindoww = value; this.DoNotify(); }
        }

        private string _gamewindowh;
        public string GameWindowH
        {
            get { return _gamewindowh; }
            set { _gamewindowh = value; this.DoNotify(); }
        }

        private string _gamedirectory;
        public string GameDirectory
        {
            get { return _gamedirectory; }
            set { _gamedirectory = value; this.DoNotify(); }
        }

        private bool[] _closewhenstart = { false, false };
        public bool[] CloseWhenStart
        {
            get { return _closewhenstart; }
            set { _closewhenstart = value; this.DoNotify(); }
        }

        private bool[] _startshownotice = { false, false };
        public bool[] StartShowNotice
        {
            get { return _startshownotice; }
            set { _startshownotice = value; this.DoNotify(); }
        }

        private bool[] _themecolorchose = { false, false, false, false, false, false, false, false };
        public bool[] ThemeColorChose
        {
            get { return _themecolorchose; }
            set { _themecolorchose = value; this.DoNotify(); }
        }

        private string _launcherupdatebuttoncontent = "关闭启动器更新";
        public string LUBConent
        {
            get { return _launcherupdatebuttoncontent; }
            set { _launcherupdatebuttoncontent = value; this.DoNotify(); }
        }

        private string _officialsite;
        public string OfficialSite
        {
            get { return _officialsite; }
            set { _officialsite = value; this.DoNotify(); }
        }
    }
}
